package com.cn.yz.springboot.util.tablesplit.annotation;

import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)  
@Target({ElementType.TYPE})//标签作用域
public @interface TableSplit {

	//是否分表  
    public boolean split() default true;
    
    //表名  
    public String value() default "";
    
    
    public String field() default "";
      
    //获取分表策略  
    public String strategy();  
}
